<?php
if (!$category->parentId) {
	$this->breadcrumbs = array(
		'凭证科目' => array(
			'accountTokenCategory/index'
		),
		$category->name,
	);
} else {
	$parent = $category;
	while ($parent = $parent->parent) {
		$breadcrumbs[$parent->name] = array(
			'accountTokenCategory/admin',
			'parentId' => $parent->id
		);
	}
	$breadcrumbs['管理'] = array(
		'accountTokenCategory/admin',
	);
	$breadcrumbs['凭证科目'] = array(
		'accountTokenCategory/index'
	);
	$this->breadcrumbs = array_reverse($breadcrumbs, true);
}

$this->userActions=array(
//	array('label'=>'List AccountTokenInitial', 'url'=>array('index')),
//	array('label'=>'Create AccountTokenInitial', 'url'=>array('create')),
//	array('label'=>'View AccountTokenInitial', 'url'=>array('view', 'id'=>$model->id)),
//	array('label'=>'Manage AccountTokenInitial', 'url'=>array('admin')),
);
?>

<h1>编辑初始值</h1>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>